<?php 

// using
use \hpnWse\nWp\stBase as stWpBase;

// 导航当前项
$l_QryCtgr = stWpBase::cGetQryCtgr();
$l_QryCtgrSlug = $l_QryCtgr->slug;
//$l_QryCtgrSlug = 'rmzx';
?>

<?php get_header(); ?>

<?php if (\hpnWse\fMayBeMblBrsr()) : ?>
<div id="k_RootPutSrc" class="cnWse_PutSrc" data-wse_bld_wgt="tWgt"
>
	<div class="cnWse_PutTgt mi_PageRmzx"></div>

	<?php \hpnApp\fIcldFgmtTmp('Nav.php'); ?>
<?php endif ?>

		<section class="mi_BanrSctn"
			style="<?php echo stWpBase::cHtml_BkgdImg('Banr_signup.jpg', true); ?>">
		</section>

		<main id="main">

			<!-- 一列布局 -->
			<section class="mi_CenPut mi_ListSect">
				<div class="mi_CrumbsSctn">
					<?php
					echo stWpBase::cHtml_Crumbs('<div class="">', 
					'<span class="mi_CrntPos">当前位置：</span><a href="' . site_url() . '">首页</a>', 
					'<a>列表</a>');
					?>
				</div>

				<div class="">
					<?php \hpnApp\fIcldFgmtTmp('FltrRstList.php'); ?>
				</div>
			</section>
			
		</main>

<?php if (\hpnWse\fMayBeMblBrsr()) : ?>
	<?php \hpnApp\fIcldFgmtTmp('Footer.php'); ?>
</div>
<?php endif ?>

<script type="text/javascript">
<?php

$g_PageCpct = 10;

$g_PageData = array(

	'Artcs' => array(), // 先给出一个空数组，稍后Ajax获取
	'CtgrSlug' => $l_QryCtgrSlug,

	'zyx' => 0
);
echo 'window.g_PageData = ' . \hpnWse\stObjUtil::cEcdJson($g_PageData) . ';';
?>
window.g_PageCpct = <?php echo $g_PageCpct; ?>;
</script>

<script type="text/javascript">
(function () {
	"use strict";

	nWse.stPageInit.cAddEvtHdlr_DocRdy(fOnIcld);
	function fOnIcld(a_Errs)
	{
	//	console.log("============================= OK：null");

		nApp.fPgntDspl({
			c_HasAdvSrch: false,
			c_ActnPrms: {
				"c_NeedAuthor": true,
				"c_NeedReadCount": true,
				"c_NeedFigure": true,
				"c_NeedKeywords": true
			}
		});
	}
})();
</script>

<?php 
// 补充上下页链接
$l_SeoLinks = stWpBase::cCalcAjctPageUrl();
stWpBase::$c_SeoLinks[] = array('href' => $l_SeoLinks[0], 'title' => '上一页');
stWpBase::$c_SeoLinks[] = array('href' => $l_SeoLinks[1], 'title' => '下一页');
get_footer(); 
?>